import { axios } from "@/utils/request";
//服务人员搜索
export const selectapi = (item: any) => {
  return axios({
    url: `/search/service-persons?name=${item}`,
    method: "get",
  });
};
//获取服务列表
export const getservertype = () => {
  return axios({
    url: `/service-entity/list`,
    method: "get",
  });
};
//获取优秀人员展示列表
export const excellentServicePersons = () => {
  return axios({
    url: `/service-person/list`,
    method: "get",
  });
};
//获取全部需求展示列表
export const getdemand = () => {
  return axios({
    url: `/customer-demand/list`,
    method: "get",
  });
};
